
#include "Player.hpp"

using namespace Gomoku;

Player::Player(Color::Type color) : _stoneLeft(0), _color(color)
{

}

Player::~Player()
{

}

Color::Type Player::getColor() const
{
  return this->_color;
}

void Player::setColor(Color::Type color)
{
  this->_color = color;
}

void Player::giveStone(unsigned int nbStone)
{
  this->_stoneLeft += nbStone;
}
